package cn.kgc.watch.service.impl;

import cn.kgc.watch.entity.Admin;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import cn.kgc.watch.mapper.AdminMapper;
import cn.kgc.watch.service.AdminService;
@Service
public class AdminServiceImpl implements AdminService{

    @Resource
    private AdminMapper adminMapper;

    @Override
    public Admin findAdimin(Admin admin) {
        return this.adminMapper.selectAdmin(admin);
    }

}
